package com.yenlien.traceyun.plant.entity;

import com.yenlien.traceyun.business.entity.ProcessDetail;
import com.yenlien.traceyun.business.entity.ProcessMaterial;
import com.yenlien.traceyun.business.entity.TraceScanEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.List;

/**
 * 加工
 *
 * @author maybe
 * @date 2020年7月28日
 */
@Entity
@Table(name = "t_plant_process")
//@Trace(appName = "plant",stepName = "process",  order = 3)
public class Process extends TraceScanEntity {
    @Column
    private String reapId;                                //采收ID
    @Column
    private String source;                                //原料类型
    @Transient
    private List<ProcessMaterial> materialList;            //原料列表
    @Transient
    private String pmList;
    @Transient
    private List<ProcessTechnology> technologyList;        //工艺列表
    @Transient
    private String ptList;
    @Transient
    private List<ProcessDetail> detailList;                //产物列表
    @Transient
    private String pdList;

    public String getReapId() {
        return reapId;
    }

    public void setReapId(String reapId) {
        this.reapId = reapId;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public List<ProcessMaterial> getMaterialList() {
        return materialList;
    }

    public void setMaterialList(List<ProcessMaterial> materialList) {
        this.materialList = materialList;
    }

    public List<ProcessTechnology> getTechnologyList() {
        return technologyList;
    }

    public void setTechnologyList(List<ProcessTechnology> technologyList) {
        this.technologyList = technologyList;
    }

    public List<ProcessDetail> getDetailList() {
        return detailList;
    }

    public void setDetailList(List<ProcessDetail> detailList) {
        this.detailList = detailList;
    }

    public String getPmList() {
        return pmList;
    }

    public void setPmList(String pmList) {
        this.pmList = pmList;
    }

    public String getPtList() {
        return ptList;
    }

    public void setPtList(String ptList) {
        this.ptList = ptList;
    }

    public String getPdList() {
        return pdList;
    }

    public void setPdList(String pdList) {
        this.pdList = pdList;
    }
}
